package com.tfswx.jkgl.designer.dto.fs;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;

/**
 * @author Ricky
 * @date 2021/2/5
 */
@Data
@ApiModel("文件下载入参")
public class FileDownloadInputDTO {

    @ApiModelProperty(name = "filePath", value = "文件路径（包含文件名）", required = true)
    @NotBlank(message = "filePath-不能为空")
    private String filePath;

    @ApiModelProperty(name = "newFileName", value = "新文件名称（若无则为文件路径中的文件名称）")
    private String newFileName;
}
